﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="UploadImg.aspx.cs" Inherits="EWMSWeb.CumMain.UploadImg" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<h2>图片上传</h2>

<table style="width:100%; font-size:12px;">
<tr>
        <td style="width:10%; text-align:right;">Load：</td>
        <td>
          
            <asp:TextBox ID="txtLoad" runat="server" ReadOnly="true"></asp:TextBox>
          
        </td>
    </tr>
    <tr>
        <td style="width:10%; text-align:right;">状态：</td>
        <td>
            <asp:DropDownList ID="DropDownList1" runat="server">
                <asp:ListItem Value="1">货物收集</asp:ListItem>
                <asp:ListItem Value="2">货物入库</asp:ListItem>
                <asp:ListItem Value="3">货物拆解</asp:ListItem>
               
            </asp:DropDownList>
          
        </td>
    </tr>
    <tr>
        <td style="width:10%; text-align:right;">文件上传：</td>
        <td>
          <asp:FileUpload ID="FileUpload1" runat="server" />
        </td>
    </tr>
      <tr>
        <td style="width:10%; text-align:right;">上传日期</td>
        <td>
            
          <asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
        </td>
    </tr>
      <tr>
        <td></td>
        <td>
        <asp:Button ID="Button1" runat="server" Text="上传" onclick="Button1_Click" 
                style="height: 21px" />
        </td>
    </tr>
</table>
   
<div class="shadow3">
    <table id="tab" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
 
      <thead>
 
        <tr>
             <th>序号</th>
             <th>Load</th>
             <th>阶段</th>
             <th>客户</th>
             <th>日期</th>
          <th>照片</th>
            
            <th>操作</th>
        </tr>
 
      </thead>
 
      <tbody>
  <asp:Repeater ID="rept" runat="server">
  <ItemTemplate>
 
    <tr>
    <tr>
      <td>
          <%# Container.ItemIndex + 1 %>
        </td>
       <td>
           <%# Eval("loadnum")%> 
        </td>
        <td>
            <%# Eval("StepFlag")%> 
        </td>
        <td>
            <%# Eval("flag1")%> 
        </td>
        <td>
            <%# Eval("flag2")%>  
        </td>
        
        <td>
         <img src='/upload/Load/<%#Eval("FileName") %>' alt="" height="40px" />
        </td>
        <td>
      <a href="javascript:void(0)">删除</a>
        </td>

 
    </tr>
 
  </ItemTemplate>
 
  <FooterTemplate>
 
    </tbody>
 
    </table>
 
  </FooterTemplate>


    </asp:Repeater>
    </tbody>
    </table>
</div>
</asp:Content>
